//api 列表  name :  path
// const HOST = 'http://myjytech.com/DanShangChengServer/public/api/';
// const YUMING = 'http://myjytech.com/DanShangChengServer/';
const HOST = 'http://www.zgoxs.com/DanShangChengServer/public/api/';
const YUMING = 'http://www.zgoxs.com/DanShangChengServer/';
const APILIST = {
  'TEST': 'test',
  'creategoods': 'creategoods', //添加商品
  'creategoodsclass': 'creategoodsclass',//添加分类
  'editGoods': 'editgoods',//修改商品
  "deletegoodsclass": "deletegoodsclass", //删除分类
  "editgoodsclass": "editgoodsclass",//修改商品分类
  "getgoodsclass": "getgoodsclass",//获取分类
  "getGoods": "getgoods",//获取商品
  "selechgoods": "selechgoods",//搜索商品
  "deletegoods": "deletegoods",//删除商品
  "getgoodsunderclass": "getgoodsunderclass",//获取分类下的商品
  "getaddata": "getaddata",//后台获取所有广告位
  "delad": "delad",//删除广告位
  "searchuser": "searchuser",//搜索 用户
  "editUserChilde": "edituserchilde",//用户添加下线
  "showuserchildeorparent": "showuserchildeorparent",//查看用户下级获取用户下级或者上级
  "freezeuser": "freezeuser",//冻结和解冻
  "setprovince": "setprovince",//修改省份
  "settype": "settype",//	设置等级同时设置折扣率
  "updatead": 'updatead',//修改广告位图片
  'adminGetOrders': 'admingetorders',       //获取订单
  'editOrders': 'editorders',               //  添加快递单号
  'admingetdrawings': 'admingetdrawings',   //获取提款记录
  'admineditdrawings': 'admineditdrawings',//通过提款
  'adminrejectdrawings':'adminrejectdrawings', //驳回提款
  'searchProfitlog':'searchprofitlog',     //查询分红记录
  'getProfitlog':'getprofitlog',//获取分红记录
  'sumOrder':'sumorder',//订单汇总  和 getprofitlog 一样
  'sumprofit':"sumprofit",//分红汇总
  'adminSerachOrder':'adminserachorder',//  通过订单ID
  "login":"login",//登录
  'provincesum':'provincesum',//搜索 每个省业绩

};
export default {APILIST, HOST, YUMING}
